<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>山河旅行社</title>

    <link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header id="header">
    <jsp:include page="head.jsp"/>
</header>


<div id="headline">
    <img src="img/headline.jpg" alt="">
    <hgroup>
        <h2>旅游资讯</h2>
        <h3>介绍各种最新旅游信息、资讯要闻、景点攻略等</h3>
    </hgroup>
</div>

<div id="container">
    <div class="container">
        <hr>
        <div class="row" style="width: 30%;margin: 0 auto;padding-top: 20px">
            <div class="panel panel-success">
                <div class="panel-heading">
                    <h3 class="panel-title">购票提示</h3>
                </div>
                <div class="panel-body">
                    <h3 class="text-default"><span class="glyphicon glyphicon-ok-sign"></span>&nbsp;&nbsp;&nbsp;&nbsp;添加购物车成功!!</h3>
                    <hr>
                    <a href="getTicket.html" class="btn btn-primary">查看购物车</a>&nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="/list.html" class="btn btn-default">继续购物</a>
                </div>
            </div>

        </div>

    </div>
</div>

<footer id="footer">
    <jsp:include page="below.jsp"/>
</footer>

</body>

<script type="text/javascript">
//    $(function(){
//        $("tr:odd").css("background-color","yellow")
//    })
    function page(pn) {
        if (pn == null || isNaN(pn)) {
            pn = 1
        }
        if (pn < 1) {
            pn == 1;
        }
        if (pn > "${pageInfo.totalPage}") {
            pn = "${pageInfo.totalPage}";
        }
        $("#pageNum").val(pn);
        $("#searchForm").submit();
    }
</script>
</html>
